#include "MessageReceiver.h"

MessageReceiver::MessageReceiver()
{
}

void MessageReceiver::OnInitialization()
{
	//noting to do..
}

void MessageReceiver::OnReadStream(const char *s, int len)
{
	_stream.append(s, len);
}

void MessageReceiver::OnDisconnected()
{
	emit sigStreamReceived(_stream);
	_stream.clear();
}
